Skip to content

Conversation

@swhitty
Copy link
Owner

@swhitty swhitty commented Oct 21, 2023

Adds support for the named color transparent.

Refines the SFSymbol optimisation that removes all transparent layer — now any layer that is annoyed with supported classnames are now always included within the output symbol, regardless of the opacity.

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6b176b5) 85.24% compared to head (1f981b3) 85.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   85.24%   85.33%   +0.09%     
==========================================
  Files          77       77              
  Lines        7019     7024       +5     
==========================================
+ Hits         5983     5994      +11     
+ Misses       1036     1030       -6     
Files Coverage Δ
SwiftDraw/Parser.XML.Color.swift 97.69% <100.00%> (+0.01%) ⬆️
SwiftDraw/Renderer.SFSymbol.swift 85.21% <100.00%> (+1.66%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@swhitty swhitty merged commit e92302a into main Oct 21, 2023
@swhitty swhitty linked an issue Oct 21, 2023 that may be closed by this pull request
@swhitty swhitty deleted the preserve-all-sfsymbol-classes branch October 22, 2023 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Path elements with transparent fills removed

2 participants